import {
  Button,
  Tabbar,
  TabbarItem,
  Tab,
  Tabs,
  Col,
  Row,
  Icon,
  Search,
  Toast,
  DropdownMenu,
  DropdownItem,
  NavBar,
  Calendar,
  Checkbox,
  CheckboxGroup,
  Form,
  Field,
  Popup,
  DatetimePicker,
  Cell,
  CellGroup,
  Image,
  List,
  PullRefresh,
  Grid,
  GridItem,
  Sidebar,
  SidebarItem,
  Notify,
  Empty,
  TreeSelect,
  Tag,
  Swipe,
  SwipeItem,
  Area,
  Uploader,
  Radio,
  RadioGroup
} from "vant";
const vantUi = {
  install: function(Vue) {
    Vue.use(Button);
    Vue.use(Tabbar);
    Vue.use(TabbarItem);
    Vue.use(Tab);
    Vue.use(Tabs);
    Vue.use(Icon);
    Vue.use(Search);
    Vue.use(DropdownItem);
    Vue.use(DropdownMenu);
    Vue.use(Calendar);
    Vue.use(Checkbox);
    Vue.use(CheckboxGroup);
    Vue.use(Form);
    Vue.use(Field);
    Vue.use(Popup);
    Vue.use(DatetimePicker);
    Vue.use(Cell);
    Vue.use(CellGroup);
    Vue.use(Col);
    Vue.use(Row);
    Vue.use(Image);
    Vue.use(Form);
    Vue.use(NavBar);
    Vue.use(Icon);
    Vue.use(Empty);
    Vue.use(List);
    Vue.use(PullRefresh);
    Vue.use(Grid);
    Vue.use(GridItem);
    Vue.use(Sidebar);
    Vue.use(SidebarItem);
    Vue.use(TreeSelect);
    Vue.use(Tag);
    Vue.use(Swipe);
    Vue.use(SwipeItem);
    Vue.use(Area);
    Vue.use(Uploader);
    Vue.use(Radio);
    Vue.use(RadioGroup);

    Vue.prototype.$notify = Notify
    Vue.prototype.$toast = Toast
  }
};
export default vantUi;
